package io.renren.modules.lanling.dao;

import io.renren.common.utils.Query;
import io.renren.modules.lanling.entity.StudentEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户
 *
 * @author LANLING
 * @email lanling@gmail.com
 * @date 2018-11-08 09:36:03
 */
public interface StudentDao extends BaseMapper<StudentEntity> {
    List<StudentEntity> queryList(Query query);

    Integer queryTotal(Query query);

    StudentEntity queryObject(@Param("userId") Long userId);

    Long save(StudentEntity studentEntity);

    void update(StudentEntity studentEntity);
}
